package com.flow.asyncflow.core.utils.http;

public enum HttpMethod {
    Get(1, "Get请求"),
    PostForm(2, "PostForm请求"),
    PostJson(3, "PostJson请求"),
    PostFile(3, "PostFile请求"),
    Put(4, "Put"),
    ;

    private int code;
    private String msg;

    private HttpMethod(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}
